export type TLoginForm= {
    adminName:string,
    password:string,
    captcha:string
}
export type TAdminInfo = {
    adminName:string,
    avatar:string
}
export interface IBaseResponseData {
    msg:number,
    message:string
}
export interface ILoginResponseData extends IBaseResponseData{
    token:string
}
export type TRoute = {
    // 路由地址
    routePath:string,
    // 组件地址
    componentPath:string,
    // 子路由的信息
    children:TRoute[],
    // 路由的标题
    name:string,
    // 图标
    icon:string,
    // 唯一的标识
    _id:string
}
// 管理员信息接口
export interface IAdminInfoResponseData extends IBaseResponseData{
    info:TAdminInfo,
    routeList:TRoute[]
}